<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<div class="page-list-bar mt10 lh180 ui-fc-grey">
共有${total}条记录,<span class="ui-fc-red">${indexPage}</span>/<span class="ui-fc-red">${totalPage}</span>,每页<span class="ui-fc-red">${row}</span>条
<br>
<c:if test="${indexPage!=1}">
	<a href="?keyword=${keyword}&indexPage=1">首页</a>
	<a href="?keyword=${keyword}&indexPage=${indexPage-1}">上一页</a>
</c:if>
<c:if test="${afterPage!=0}">
	<c:forEach var="i" begin="0" end="${afterPage-1}" step="1">
		<a href="?keyword=${keyword}&indexPage=${indexPage-afterPage+i}">${indexPage-afterPage+i}</a>
	</c:forEach>
</c:if>
<c:forEach var="k" begin="${indexPage+1}" end="${beforePage}"
	step="1">
	<a href="?keyword=${keyword}&indexPage=${k}">${k}</a>
</c:forEach>
<c:if test="${indexPage!=totalPage}">
	<a href="?keyword=${keyword}&indexPage=${indexPage+1}">下一页</a>
	<a href="?keyword=${keyword}&indexPage=${totalPage}">末页</a>
</c:if>
快速跳至:
<input type="text" name="indexPage" />
页
<input type="submit" value="Go" maxLength=5 size=2/>
</div>